Vt-d: queued invalidation cleanup
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 15 Sep 2009 08:24:59 +0000 (09:24 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 15 Sep 2009 08:24:59 +0000 (09:24 +0100)
commit4e8febe0b820d368aa440af45fd1d44b86134243
tree34a1cc37bb73af8af12d2ffbc6ee7eb573991844
parent3217c5cc9c65b5682fcc2e65b3fbab284bf0c5ad
Vt-d: queued invalidation cleanup

This patch cleans up queued invalidation, including round wrap
check, multiple polling status and other minor changes. This version
uses local variable as the polling address, which is clean.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
xen/drivers/passthrough/vtd/iommu.c
xen/drivers/passthrough/vtd/iommu.h
xen/drivers/passthrough/vtd/qinval.c